package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.bean.PageRes;
import com.example.demo.bean.sysrole.SysRoleDO;
import com.example.demo.dto.sysrole.SysRolePageReqVO;

public interface ISysRoleService extends IService<SysRoleDO> {

    public PageRes<SysRoleDO> list(SysRolePageReqVO sysRolePageReqVO);

    public int addSysRole(SysRoleDO sysRoleDO);

    public int deleteSysRole(SysRoleDO sysRoleDO);

    public int updateSysRole(SysRoleDO sysRoleDO);

    public SysRoleDO getSysRole(SysRoleDO sysRoleDO);
}
